import request from '@/utils/request'

// 账号注册
export function accountRegister(data) {
    return request({
        url: '/member/auth/account_register',
        method: 'post',
        data: data
    })
}
// 账号登陆
export function accountLogin(data) {
    return request({
        url: '/member/auth/login',
        method: 'post',
        data: data
    })
}
// 退出登录
export function logout() {
    return request({
        url: '/member/auth/logout',
        method: 'post'
    })
}